package com.huage.courseplatform.application.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.huage.courseplatform.framework.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_dict")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="字典",description="字典")
public class SysDict extends BaseEntity<SysDict> implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "显示内容")
    private String label;

    @ApiModelProperty(value = "值")
    private String value;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "字典父ID")
    private String parentId;

    @ApiModelProperty(value = "备注")
    private String remark;


}
